package com.wuqing.mybatisredisdemo.service;

import com.wuqing.mybatisredisdemo.bo.StudentDetailInfoBO;
import com.wuqing.mybatisredisdemo.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 卢文昊
 * @since 2021-08-02
 */
public interface StudentService extends IService<Student> {

    List<Student> queryAll();

    List<Student> queryLikeName(String name);

    String saveStuInfo(Student student);

    String updateStuInfo(Student student);

    String removeById(Integer id);

    List<StudentDetailInfoBO> getStudentByIdWithClassInfo(Integer id);
}
